
import { defineComponent, reactive } from 'vue';
export interface User {
    name: string;
    age: number;
}

export default defineComponent({
    setup() {
        const userList = reactive<Array<User>>([
            { name: '张三', age: 10 },
            { name: '李四', age: 20 },
        ])
        return {
            userList
        }
    },
})
